package com.youngball.utill;

/**
 * Created by Administrator on 2015/5/6.
 */
public  enum Code {
    SUC("0"),
    DEFAI("1"),
    NULL("2"),
    HAS_LOGIN("40003"),//已经登录
    NO_LOGIN("5"),
    FORBID("40001");//没有权限

    private String value;
    public String getValue() {
        return value;
    }
    //带参构造函数
    Code(String value){
        this.value = value;
    }
    @Override
    public String toString() {
        return String.valueOf ( this . value);
    }

}
